
#include "DeltaGlider.h"
#include "OrbiterSoundSDK35.h"

void DeltaGlider::DefineSound()
{
	
	MyID=ConnectToOrbiterSoundDLL3(GetHandle());
	SoundOptionOnOff3(MyID,PLAYCOUNTDOWNWHENTAKEOFF,FALSE);
	SoundOptionOnOff3(MyID,PLAYRADIOATC,FALSE);
	RequestLoadVesselWave3(MyID,GEARDOWN,"Sound\\at1000\\gear_down.wav",INTERNAL_ONLY); //  PlayVesselWave3(MyID,GEARDOWN,LOOP,225,0); <- this will play this sound
    RequestLoadVesselWave3(MyID,gear_retracted,"Sound\\at1000\\gear_retracted.wav",INTERNAL_ONLY);
   // RequestLoadVesselWave3(MyID,hydraulics,"Sound\\at1000\\hydraulics.wav",INTERNAL_ONLY);
    RequestLoadVesselWave3(MyID,jet_starting,"Sound\\at1000\\jet_starting_2.wav",INTERNAL_ONLY);
    ReplaceStockSound3(MyID,"Sound\\at1000\\AT_air_speed_2.wav", REPLACE_MAIN_THRUST);


}